package exceptionP;

public class sample01 {

	public static void main(String[] args)
	{
		
		pmethod(1);
		pmethod(2);
		
		try
		{
			pmethod(3);
			System.out.println(0/0);
			pmethod(5);
		}
		catch(Exception e)
		{
			
			e.printStackTrace();
			
			pmethod(7);
		}
		
		pmethod(8);
		
	}
	
	
	
	static void pmethod(int i)
	{
		System.out.println(i);
	}
}
